package com.dts.yjnb.service.appcontroller;

import com.dts.common.core.controller.BaseController;
import com.dts.common.core.domain.AjaxResult;
import com.dts.common.utils.PageRequest;
import com.dts.yjnb.service.domainVo.AppAllowancePolicyVo;
import com.dts.yjnb.service.service.INbAllowancePolicyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


@RestController
@RequestMapping("/app/apppolicy")
public class appAllowancePolicyController extends BaseController {
    @Autowired
    private INbAllowancePolicyService nbAllowancePolicyService;


    @GetMapping("/appQueryAllowancePolicy")
    public AjaxResult appQueryAllowancePolicy(AppAllowancePolicyVo appAllowancePolicyVo, PageRequest pageRequest){
        return AjaxResult.success(nbAllowancePolicyService.appQueryAllowancePolicy(appAllowancePolicyVo,pageRequest));
    }


}
